import { createStore } from 'redux';
import rootReducer from '../reducers';

export default function(initState) {
  return createStore(rootReducer, initState, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__());
}
